<div class="slick">
<?php
$slicksequence = git_get_option('git_slicksequence');
if(empty($slicksequence))
	$slicksequence = '1,2,3,4,5,6,7,8,9';
$seqNums = explode(',', $slicksequence);
foreach ($seqNums as $seqNum) {
	if (git_get_option('git_slick'.$seqNum.'img_b')) {
		$slickimg = git_get_option('git_slick'.$seqNum.'img_b');
		$slickurl = git_get_option('git_slick'.$seqNum.'url_b');
		$slicktitle = git_get_option('git_slick'.$seqNum.'title_b');
		?>
		<div style="display: none;">
			<a href="<?php echo $slickurl; ?>" target="_blank">
				<img src="<?php echo $slickimg; ?>" alt="<?php echo $slicktitle; ?>">
				<span><?php echo $slicktitle; ?></span>
			</a>
		</div>
		<?php
	}
} ?>
</div>